package com.mqzhang.demo.web.common;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author mq.zhang
 * @version V1.0 2016年9月12日
 */
@Controller
@RequestMapping(value = "/")
public class ExceptionController {
    @RequestMapping(value = { "/404" }, method = RequestMethod.GET)
    public String helloFtl(HttpServletRequest request, HttpServletResponse response, Model model) throws Exception {
        return "404";
    }
}
